← Back
Editing: index-legacy492.js
!function(){function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return r};var n,r={},o=Object.prototype,a=o.hasOwnProperty,i=Object.defineProperty||function(t,e,n){t[e]=n.value},u="function"==typeof Symbol?Symbol:{},c=u.iterator||"@@iterator",l=u.asyncIterator||"@@asyncIterator",s=u.toStringTag||"@@toStringTag";function f(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{f({},"")}catch(n){f=function(t,e,n){return t[e]=n}}function h(t,e,n,r){var o=e&&e.prototype instanceof w?e:w,a=Object.create(o.prototype),u=new N(r||[]);return i(a,"_invoke",{value:O(t,n,u)}),a}function p(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(t){return{type:"throw",arg:t}}}r.wrap=h;var v="suspendedStart",y="suspendedYield",d="executing",m="completed",g={};function w(){}function x(){}function b(){}var _={};f(_,c,(function(){return this}));var j=Object.getPrototypeOf,L=j&&j(j(V([])));L&&L!==o&&a.call(L,c)&&(_=L);var k=b.prototype=w.prototype=Object.create(_);function E(t){["next","throw","return"].forEach((function(e){f(t,e,(function(t){return this._invoke(e,t)}))}))}function S(e,n){function r(o,i,u,c){var l=p(e[o],e,i);if("throw"!==l.type){var s=l.arg,f=s.value;return f&&"object"==t(f)&&a.call(f,"__await")?n.resolve(f.__await).then((function(t){r("next",t,u,c)}),(function(t){r("throw",t,u,c)})):n.resolve(f).then((function(t){s.value=t,u(s)}),(function(t){return r("throw",t,u,c)}))}c(l.arg)}var o;i(this,"_invoke",{value:function(t,e){function a(){return new n((function(n,o){r(t,e,n,o)}))}return o=o?o.then(a,a):a()}})}function O(t,e,r){var o=v;return function(a,i){if(o===d)throw Error("Generator is already running");if(o===m){if("throw"===a)throw i;return{value:n,done:!0}}for(r.method=a,r.arg=i;;){var u=r.delegate;if(u){var c=F(u,r);if(c){if(c===g)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===v)throw o=m,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=d;var l=p(t,e,r);if("normal"===l.type){if(o=r.done?m:y,l.arg===g)continue;return{value:l.arg,done:r.done}}"throw"===l.type&&(o=m,r.method="throw",r.arg=l.arg)}}}function F(t,e){var r=e.method,o=t.iterator[r];if(o===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=n,F(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),g;var a=p(o,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,g;var i=a.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,g):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,g)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function G(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function N(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function V(e){if(e||""===e){var r=e[c];if(r)return r.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function t(){for(;++o<e.length;)if(a.call(e,o))return t.value=e[o],t.done=!1,t;return t.value=n,t.done=!0,t};return i.next=i}}throw new TypeError(t(e)+" is not iterable")}return x.prototype=b,i(k,"constructor",{value:b,configurable:!0}),i(b,"constructor",{value:x,configurable:!0}),x.displayName=f(b,s,"GeneratorFunction"),r.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===x||"GeneratorFunction"===(e.displayName||e.name))},r.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,f(t,s,"GeneratorFunction")),t.prototype=Object.create(k),t},r.awrap=function(t){return{__await:t}},E(S.prototype),f(S.prototype,l,(function(){return this})),r.AsyncIterator=S,r.async=function(t,e,n,o,a){void 0===a&&(a=Promise);var i=new S(h(t,e,n,o),a);return r.isGeneratorFunction(e)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},E(k),f(k,s,"Generator"),f(k,c,(function(){return this})),f(k,"toString",(function(){return"[object Generator]"})),r.keys=function(t){var e=Object(t),n=[];for(var r in e)n.push(r);return n.reverse(),function t(){for(;n.length;){var r=n.pop();if(r in e)return t.value=r,t.done=!1,t}return t.done=!0,t}},r.values=V,N.prototype={constructor:N,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(G),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return u.type="throw",u.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],u=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var c=a.call(i,"catchLoc"),l=a.call(i,"finallyLoc");if(c&&l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===t||"continue"===t)&&o.tryLoc<=e&&e<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=t,i.arg=e,o?(this.method="next",this.next=o.finallyLoc,g):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),g},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),G(n),g}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;G(n)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:V(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),g}},r}function n(t,e,n,r,o,a,i){try{var u=t[a](i),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}function r(t){return function(){var e=this,r=arguments;return new Promise((function(o,a){var i=t.apply(e,r);function u(t){n(i,o,a,u,c,"next",t)}function c(t){n(i,o,a,u,c,"throw",t)}u(void 0)}))}}System.register(["./utils-lib-legacy.js?v=1765440387","./index-legacy118.js?v=1765440387","./index-legacy104.js?v=1765440387","./index-legacy141.js?v=1765440387","./index-legacy124.js?v=1765440387","./base-lib-legacy.js?v=1765440387","./index-legacy105.js?v=1765440387","./column-legacy.js?v=1765440387","./site-legacy.js?v=1765440387","./useStore-legacy4.js?v=1765440387","./__commonjsHelpers__-legacy.js?v=1765440387","./validator-legacy.js?v=1765440387","./ace-legacy.js?v=1765440387"],(function(t,n){"use strict";var o,a,i,u,c,l,s,f,h,p,v,y,d,m,g,w,x,b,_,j,L,k,E,S,O,F,P,G,N,V,T,A,C,q,I,D,H,M;return{setters:[function(t){o=t.u,a=t.n,i=t.L,u=t.K,c=t.l,l=t.j,s=t.b,f=t.p},function(t){h=t._},function(t){p=t._},function(t){v=t.B},function(t){y=t._},function(t){d=t.c,m=t.r,g=t.k,w=t.p,x=t.G,b=t.q,_=t.v,j=t.x,L=t.M,k=t.A,E=t.y,S=t.e,O=t.B,F=t.P,P=t.H,G=t.D,N=t.al},function(t){V=t._},function(t){T=t.d,A=t.u},function(t){C=t.checkMonitorDir,q=t.setMonitorDir,I=t.webshellFileSingle,D=t.setHandleFile},function(t){H=t.S,M=t.u},null,null,null],execute:function(){var U={class:"flex items-center"},B={class:"p-20px"};t("default",d({__name:"index",setup:function(t){var d=H(),Y=d.getFileEvent,J=d.saveFileEvent,K=s(),R=o().payment,z=M().siteInfo,Q=m([]),W=m(!1),X=m(""),Z=m(!1),$=m({}),tt=m(!1),et=g({title:"动态查杀-功能介绍",ps:"当查杀站点目录中的文件发生修改就会自动的进行木马查杀并进行隔离",source:185,desc:["网页内容修改检测","木马查杀隔离"],tabImgs:[{title:"概览",imgSrc:"https://www.bt.cn/Public/new/plugin/introduce/site/dynamic_kill.png"}]}),nt=function(){a({isAsync:!0,title:"白名单",area:[70,55],component:function(){return i((function(){return n.import("./index-legacy459.js?v=1765440387")}),void 0,n.meta.url)},showFooter:!1})},rt=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.prev=0,t.next=3,C({path:z.value.path});case 3:n=t.sent,tt.value=n.data.is_run,t.next=10;break;case 7:t.prev=7,t.t0=t.catch(0);case 10:case"end":return t.stop()}}),t,null,[[0,7]])})));return function(){return t.apply(this,arguments)}}(),ot=function(){var t=r(e().mark((function t(n){return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,u({loading:"正在设置中,请稍后...",request:q(!n,{path:z.value.path}),message:!0});case 2:rt();case 3:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),at=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,J({path:$.value.path,data:X.value,encoding:"utf-8"});case 2:n=t.sent,K.request(n);case 4:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}(),it=function(){var t=r(e().mark((function t(){var n;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return W.value=!0,t.prev=1,t.next=4,I({path:(z.value.path+"/").replace("//","/")});case 4:n=t.sent,Q.value=Array.isArray(n.data)?n.data:[],t.next=11;break;case 8:t.prev=8,t.t0=t.catch(1);case 11:W.value=!1;case 12:case"end":return t.stop()}}),t,null,[[1,8]])})));return function(){return t.apply(this,arguments)}}(),ut=function(){var t=r(e().mark((function t(n){var r;return e().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return $.value=n,t.next=3,Y({path:n.path});case 3:if((r=t.sent).status){t.next=10;break}return K.request(r),t.abrupt("return",!1);case 10:X.value=r.data.data||r.msg,Z.value=!0;case 12:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),ct=m([{label:"隔离时间",prop:"time"},T(),A([{width:80,onClick:ut,title:"样本文件"},{onClick:function(t){f({title:"删除文件",content:"是否要删除关联的源文件?",type:"check",icon:"warning",check:{content:"源文件",onConfirm:function(e){u({loading:"正在删除文件中,请稍后...",request:D({data:JSON.stringify({path:t.path,md5:t.md5,type:e?"delete":""})}),message:!0,success:function(t){t.status&&it()}})}}})},title:"删除"}])]);return w((function(){"ltd"===R.value.authType&&(rt(),it())})),function(t,e){var n=G,r=V,o=N,a=y,i=c,u=v,s=l,f=p,d=h,m=x("bt-loading");return b(),_("div",null,["ltd"===j(R).authType?(b(),L(f,{key:0},{"header-left":k((function(){return[E("div",U,[S(n,{type:"default",onClick:nt},{default:k((function(){return e[3]||(e[3]=[O(" 白名单 ")])})),_:1}),S(r),e[4]||(e[4]=E("div",{class:"mr-8px"},"动态查杀站点",-1)),E("div",null,[S(o,{modelValue:j(tt),"onUpdate:modelValue":e[0]||(e[0]=function(t){return F(tt)?tt.value=t:null}),width:36,onChange:ot},null,8,["modelValue"])])])]})),"header-right":k((function(){return[S(a,{onRefresh:it})]})),content:k((function(){return[P(S(i,{column:j(ct),"max-height":400,data:j(Q)},null,8,["column","data"]),[[m,j(W)]])]})),"footer-left":k((function(){return e[5]||(e[5]=[E("ul",{class:"mt-8px leading-8 text-[1.2rem] list-disc ml-20px"},[E("li",null,"注意:隔离文件后的数字表示隔离文件总数。"),E("li",{class:"text-orange"},"动态查杀开启后,当查杀目录中的文件发生修改就会自动的进行木马查杀并进行隔离")],-1)])})),"footer-right":k((function(){return e[6]||(e[6]=[])})),popup:k((function(){return[S(s,{title:"在线编辑",showFooter:"",modelValue:j(Z),"onUpdate:modelValue":e[2]||(e[2]=function(t){return F(Z)?Z.value=t:null}),area:70,onConfirm:at},{default:k((function(){return[E("div",B,[S(u,{modelValue:j(X),"onUpdate:modelValue":e[1]||(e[1]=function(t){return F(X)?X.value=t:null}),class:"!h-[40rem]"},null,8,["modelValue"])])]})),_:1},8,["modelValue"])]})),_:1})):(b(),L(d,{key:1,data:j(et)},null,8,["data"]))])}}}))}}}))}();
Save File
Cancel